//
//  HQAddStyleViewController.h
//  MobileiOS
//
//  Created by 郝庆松 on 2018/5/11.
//  Copyright © 2018年 PCITC. All rights reserved.
//

#import "HQBaseViewController.h"
#import "HQAddStyleCell.h"
#import "HQAddStyleItemCell.h"
#import "HQAddPhotoView.h"
#import "ImagePickerTool.h"
#import "HQStyleObject.h"
#import "HQStyleListView.h"
#import "HQAddStyleSearchCell.h"

@interface HQAddStyleViewController : HQBaseViewController<UITableViewDelegate,UITableViewDataSource,ZHPickViewDelegate,HQAddPhotoViewDelegate,UIImagePickerControllerDelegate,HQStyleListViewDelegate>
{
    NSMutableArray *_dataSource;
    __weak IBOutlet UITableView *_tableView;
    // 样式图片
    __weak IBOutlet UIImageView *_styleImage;
    // 样式名称
    __weak IBOutlet UITextField *_styleName;
    // 样式介绍
    __weak IBOutlet UITextField *_styleIntrduce;
    
    // 单位
    __weak IBOutlet UIButton *_sUnit;
    
    NSString *_sUnitCode;
    NSMutableArray *_sUnitArray;
    
    // 区间差
    __weak IBOutlet UIButton *_sInterval;
    NSString *_sIntervalCode;
    NSMutableArray *_sIntervalArray;
    
    NSString *_styleItem0Code;
    NSMutableArray *_styleItem0Array;

    HQAddStyleCell *_currentCell;
    __weak IBOutlet UIView *_listBgView;
    NSString *_styleID;
    HQStyleListView * newsView;
    __weak IBOutlet NSLayoutConstraint *_listBgViewConstraint;
    __weak IBOutlet UIView *_headerView;
    NSString *_newID;
    BOOL _editTag;
    
    NSInteger _currentIndex;
    BOOL _addStyleFlg;
    BOOL _deleteAllFlg;
}

@property(nonatomic,retain)NSString *pushType;
@property(nonatomic,retain)NSDictionary *dataInfo;

@end
